package com.issac.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.issac.dto.FruitDto;
import com.issac.dto.SearchFormDto;
import com.issac.entity.Fruit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName FruitMapper
 * @Author zy
 * @Date 2021/11/1 16:17
 * @Description FruitMapper
 * @Version 1.0
 */
@Mapper
@Repository
public interface FruitMapper extends BaseMapper<Fruit> {

    List<Fruit> selectGoodsLike(SearchFormDto dto);

    void updateList(@Param("list") List<FruitDto> fruitList);

}
